<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ClientLogin.aspx.cs" Inherits="Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>SCR Login Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <h3>Please enter your username and password and prees the login button.</h3><br />
    <table style="width:650px">
        <tr>
            <td style="width:61px; height:26px;">
                <asp:Label ID="Label1" runat="server" Text="Username:"></asp:Label></td>
            <td style="width:7px; height:26px">
            </td>
            <td style="width:583px; height:26px">
                <asp:TextBox ID="txtUsername" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvUsername" runat="server" ControlToValidate="txtUsername" 
                    ErrorMessage="You must enter a username"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width:61px">
                <asp:Label ID="Label2" runat="server" Text="Password:"></asp:Label></td>
            <td style="width:7px">
            </td>
            <td style="width:583px">
                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvPassword" runat="server" ControlToValidate="txtPassword"
                    ErrorMessage="You must enter a password"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 61px">
            </td>
            <td style="width: 7px">
            </td>
            <td style="width: 583px">
                <asp:Label ID="lblInvalidUser" runat="server" Text="You have not supplied a valid username or password!"></asp:Label></td>
        </tr>
        <tr>
            <td style="width: 61px">
            </td>
            <td style="width: 7px">
            </td>
            <td style="width: 583px">
                <asp:Button ID="btnLogin" runat="server" Text="Login" OnClick="btnLogin_OnClick" />&nbsp;
                <asp:Button ID="btnClear" runat="server" Text="Clear" OnClick="btnClear_OnClick" /></td>
        </tr>
    </table>
    </div>
    </form>
</body>
</html>
